
import _fetch from './resquer'
function getsubjectlist (params){
    return _fetch({
        url:'/subject/list',
        params
    })
}
function setsubjectstatus(data){
    return _fetch({
        url:'/subject/status',
        method:'post',
        data
    })
}
function addsubject (data){
    return _fetch({
        url:'/subject/add',
        method:'post',
        data
    })
}
function editsubject(data){
    return _fetch({
        url:'/subject/edit',
        method:'post',
        data
    })
}
function delsubject(data){
    return _fetch({
        url:'/subject/remove',
        method:'post',
        data
    })
}
export {getsubjectlist,setsubjectstatus,addsubject,editsubject,delsubject}